package com.three.iot.jdbc.mapper;

import com.three.iot.jdbc.model.TUserDevice;

import java.util.List;

public interface TUserDeviceMapper extends AbstractUserDeviceMapper{
    List<TUserDevice> selectByUserNo(String userNo);

    List<TUserDevice> selectByIotId(String iotId);

    TUserDevice selectByUniqIndex(String iotId, String userNo);

    void insertBatch(List<TUserDevice> userDevices);

    void deleteByUserNo(String userNo);

    void deleteByIotId(String iotId);
}